<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">私教二维码图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-private_teacher" class="form-control" size="50" name="private_teacher" type="text" value="{$private_teacher|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-private_teacher" class="btn btn-danger faupload" data-input-id="c-private_teacher" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-private_teacher"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-private_teacher" class="btn btn-primary fachoose" data-input-id="c-private_teacher" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-private_teacher"></ul>
        </div>
    </div>
    <!--
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">启用首屏广告:</label>
        <div class="col-xs-12 col-sm-8">
            <input  id="c-index_adv" name="index_adv" type="hidden" value="{$index_adv}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-index_adv" data-yes="1" data-no="0" >
            <i class="fa fa-toggle-on text-success {eq name="$index_adv" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    -->
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">首页广告:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-index_pic" class="form-control" size="50" name="index_pic" type="text" value="{$index_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-index_pic" class="btn btn-danger faupload" data-input-id="c-index_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-index_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-index_pic" class="btn btn-primary fachoose" data-input-id="c-index_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-index_pic"></ul>
        </div>
    </div>
    <!--
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">启用内页广告:</label>
        <div class="col-xs-12 col-sm-8">
            <input  id="c-inner_adv" name="inner_adv" type="hidden" value="{$inner_adv}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-inner_adv" data-yes="1" data-no="0" >
            <i class="fa fa-toggle-on text-success {eq name="$inner_adv" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    -->
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">内页广告:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-inner_pic" class="form-control" size="50" name="inner_pic" type="text" value="{$inner_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-inner_pic" class="btn btn-danger faupload" data-input-id="c-inner_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-inner_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-inner_pic" class="btn btn-primary fachoose" data-input-id="c-inner_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-inner_pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">启用跳过地区:</label>
        <div class="col-xs-12 col-sm-8">
            <input  id="c-skip_area" name="skip_area" type="hidden" value="{$skip_area}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-skip_area" data-yes="1" data-no="0" >
            <i class="fa fa-toggle-on text-success {eq name="$skip_area" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">批量处理说明:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-step_note" class="form-control editor" rows="8" name="step_note" cols="50">{$step_note|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">软件服务协议:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-soft_agreements" class="form-control editor" rows="8" name="soft_agreements" cols="50">{$soft_agreements|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary">{:__('OK')}</button>
            <button type="reset" class="btn btn-default">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style>
    .mf_backend_field_note {
        display: block;
        margin-top: 0.5rem;
        color: #838fa1;
        font-size: 1.2rem;
    }
    /* 添加富文本编辑器高度设置 */
    #c-step_note, #c-soft_agreements {
        min-height: 400px;
    }
    .editor {
        height: 400px !important;
    }
</style>
<style>
.el-row {
  margin-bottom: 10px;
}
.demo-tabs > .el-tabs__content {
  padding: 32px;
  color: #6b778c;
  font-size: 14px;
  font-weight: 600;
}
</style>
